<script setup lang="ts">
type Prop = {
  title?: string;
  desc?: string;
};
const props = defineProps<Prop>();
</script>

<template>
  <div class="k-desc-item">
    <span>{{ title }}</span>
    <div>{{ desc }}</div>
  </div>
</template>
<style lang="scss" scoped>
.k-desc-item {
  display: flex;
  height: 100%;
  flex-direction: column;
  justify-content: space-evenly;

  > span {
    font-size: 14px;
    font-weight: bold;
    min-height: 20px;
    color: var(--el-text-color-primary);
  }

  > div {
    font-size: 12px;
    min-height: 20px;
    color: var(--el-text-color-secondary);
  }
}
</style>
